﻿using System;

namespace Teigha.Core
{
	public class OdGsSelectionReactor_Internal : OdGsSelectionReactor
	{
		public OdGsSelectionReactor_Internal(IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
		{
		}

		public override bool selected(OdGiDrawableDesc pDrawableDesc)
		{
			bool result = GlobalsPINVOKE.OdGsSelectionReactor_selected__SWIG_0(OdGsSelectionReactor.getCPtr(this), OdGiDrawableDesc.getCPtr(pDrawableDesc));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}
	}
}
